package com.project.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.demo.entity.Land;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import java.util.Date;
public interface Landmapper extends BaseMapper<Land>{
    @Delete("delete from statistics.land where name=#{name}")
    Integer deleteVo(Integer name);
    @Insert("insert into statistics.land values(#{name},#{arable},#{urban},#{transportation},#{tps},#{woodland},#{waters},#{naturalland},#{industrialland},#{time})")
    Integer insertVo(Integer name,String arable,Integer urban,Integer transportation,Integer tps,Integer woodland,Integer waters,Integer naturalland,Integer industrialland,Integer time);
}
